package com.weipai.springboot.model;

import java.util.UUID;

public class Article {
    private String articleId= UUID.randomUUID().toString();

    private String articleName;//文章标题

    private String articleIntro;//文章简介

    private Integer articleSort;//排序

    private String articleCategoryId;//文章分类id

    private Integer articleStatus;//状态  0未审核，1上架，-1下架

    private String createTime;//创建时间

    private String updateTime;//修改时间

    private String articleDescrible;//描述

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId == null ? null : articleId.trim();
    }

    public String getArticleName() {
        return articleName;
    }

    public void setArticleName(String articleName) {
        this.articleName = articleName == null ? null : articleName.trim();
    }

    public String getArticleIntro() {
        return articleIntro;
    }

    public void setArticleIntro(String articleIntro) {
        this.articleIntro = articleIntro == null ? null : articleIntro.trim();
    }

    public Integer getArticleSort() {
        return articleSort;
    }

    public void setArticleSort(Integer articleSort) {
        this.articleSort = articleSort;
    }

    public String getArticleCategoryId() {
        return articleCategoryId;
    }

    public void setArticleCategoryId(String articleCategoryId) {
        this.articleCategoryId = articleCategoryId == null ? null : articleCategoryId.trim();
    }

    public Integer getArticleStatus() {
        return articleStatus;
    }

    public void setArticleStatus(Integer articleStatus) {
        this.articleStatus = articleStatus;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public String getArticleDescrible() {
        return articleDescrible;
    }

    public void setArticleDescrible(String articleDescrible) {
        this.articleDescrible = articleDescrible == null ? null : articleDescrible.trim();
    }
}